Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add configmap into kustomization for prowlarr #102

Merged
merged 1 commit into from
Feb 29, 2024
Merged

Conversation

jgilfoil
Copy link
Owner

No description provided.

Copy link

--- kubernetes/apps/media/prowlarr/app Kustomization: flux-system/prowlarr ConfigMap: media/health-check

+++ kubernetes/apps/media/prowlarr/app Kustomization: flux-system/prowlarr ConfigMap: media/health-check

@@ -0,0 +1,20 @@

+---
+apiVersion: v1
+data:
+  health-check.sh: |
+    #!/bin/sh
+    response=$(wget -q -O- http://localhost/ping | jq -r '.status')
+    if [ "$response" = "OK" ]; then
+      exit 0
+    else
+      exit 1
+    fi
+kind: ConfigMap
+metadata:
+  labels:
+    app.kubernetes.io/name: prowlarr
+    kustomize.toolkit.fluxcd.io/name: prowlarr
+    kustomize.toolkit.fluxcd.io/namespace: flux-system
+  name: health-check
+  namespace: media
+

@jgilfoil jgilfoil merged commit a2f3a7c into main Feb 29, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant